#pragma once
#include"const.h"
class CServer : public std::enable_shared_from_this<CServer>
{
public:
	CServer(net::io_context& ioc, unsigned short& prot);
	void start();

private:
	tcp::acceptor _acceptor;
	net::io_context& _ioc;

};

